package com.ahwei.dao.user;

import com.ahwei.pojo.Collect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author：ahwei163@qq.com
 *
 * @date: 202*-03-19 21:13:26
 * @description: 这是一个Java文件！
 */
public interface CollectDao {
    int count(long uid);

    int add(Collect collect);

    int delete(@Param("vid") long vid, @Param("uid") long uid);

    List<Collect> findByUid(long uid);
}
